package com.sleepan.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: 方振毅
 * @Date: 2020/4/6 9:43 PM
 */
@Controller
public class HelloController {

    @GetMapping("/hello")
    public String hello(ModelMap modelMap) {
        modelMap.put("hello", "hello word");
        return "index";

    }

}
